package org.design.log.biz.service;

import org.design.log.biz.dao.ApiLogDao;
import org.design.log.entity.ApiLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * ApiLogService
 *
 * @author 樊温军
 * @date 2025/6/23 上午9:10
 */
@Component
public class ApiLogService {
    private ApiLogDao apiLogDao;

    @Autowired
    public void setApiLogDao(ApiLogDao apiLogDao) {
        this.apiLogDao = apiLogDao;
    }

    public void saveLog(ApiLog apiLog) {
        apiLogDao.save(apiLog);
    }
}
